package com.interview.one.model;

import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "user_info")
public class UserInfo {
    @Id
    private Integer id;

    /**
     * 用户名（登录名）
     */
    @Column(name = "user_name")
    private String userName;

    /**
     * 登录密码
     */
    @Column(name = "user_pwd")
    private String userPwd;

    /**
     * 手机号

     */
    @Column(name = "user_mobile")
    private String userMobile;

    /**
     * 头像

     */
    @Column(name = "user_icon")
    private String userIcon;

    /**
     * 真实姓名

     */
    @Column(name = "user_real_name")
    private String userRealName;

    /**
     * 身份证

     */
    @Column(name = "user_identity_card")
    private String userIdentityCard;

    /**
     * 昵称

     */
    @Column(name = "user_nick_name")
    private String userNickName;

    /**
     * 性别
     */
    @Column(name = "user_gender")
    private String userGender;

    /**
     * 生日
     */
    @Column(name = "user_birthday")
    private String userBirthday;

    /**
     * 居住地
     */
    @Column(name = "user_address")
    private String userAddress;

    /**
     * 个性签名

     */
    @Column(name = "user_sign")
    private String userSign;

    @Column(name = "push_id")
    private String pushId;
}